package cn.xiongxf.product.domain;

import java.math.BigDecimal;
import java.util.Date;
import cn.xiongxf.basic.domain.BaseDomain;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 实体类：
 */
public class ProductOnlineAuditLog extends BaseDomain{

    /**
     * 消息id
     */
    private Long productId;
    /**
     * 状态 0失败 1成功
     */
    private Integer state;
    /**
     * 审核人 如果为null系统审核
     */
    private Long auditId;
    /**
     * 审核时间
     */
    @JsonFormat(locale = "zh",pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date auditTime;
    /**
     * 备注
     */
    private String note;


    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Long getAuditId() {
        return auditId;
    }

    public void setAuditId(Long auditId) {
        this.auditId = auditId;
    }

    public Date getAuditTime() {
        return auditTime;
    }

    public void setAuditTime(Date auditTime) {
        this.auditTime = auditTime;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    @Override
    public String toString() {
        return "ProductOnlineAuditLog{" +
        ", productId=" + productId +
        ", state=" + state +
        ", auditId=" + auditId +
        ", auditTime=" + auditTime +
        ", note=" + note +
        "}";
    }
}
